package demo3;

public class A {
    private int a = 10;
    int b = 20;
    protected int c = 30;
    public int d = 40;
    public void func() {
        System.out.println(this.a);
        System.out.println(this.b);
        System.out.println(this.c);
        System.out.println(this.d);
    }
}
